package com.example.javatwo.pojo.xs.lyh;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

public class allocate {
//	DROP TABLE Allocate;
//	CREATE TABLE Allocate(
//		wareOutName  VARCHAR(20) null,	/*调出仓库*/
//		moveDate     DATE        null,	/*单据日期*/
//		wareName     VARCHAR(20) null,	/*调入仓库*/
//		moveNo       VARCHAR(20) not null PRIMARY KEY,	/*单据号码*/
//		makerSign    VARCHAR(20) null,	/*制单人员*/
//		permitterSign VARCHAR(20) null,	/*复核人员*/
//		isShenHe     VARCHAR(20) null	/*是否审核*/
//	);
	
	public String wareOutName;/*调出仓库*/
	
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8",locale="zh")
	public Date moveDate;/*单据日期*/
	public String wareName;/*调入仓库*/
	public String moveNo;/*单据号码*/
	public String makerSign;/*制单人员*/
	public String permitterSign;/*复核人员*/
	public String isShenHe;/*是否审核*/
	public String isDel;/*逻辑删除*/
	
	public List<allocatedetail> allo = new ArrayList<allocatedetail>();
	

	public String getWareOutName() {
		return wareOutName;
	}


	public void setWareOutName(String wareOutName) {
		this.wareOutName = wareOutName;
	}


	public Date getMoveDate() {
		return moveDate;
	}


	public void setMoveDate(Date moveDate) {
		this.moveDate = moveDate;
	}


	public String getWareName() {
		return wareName;
	}


	public void setWareName(String wareName) {
		this.wareName = wareName;
	}


	public String getMoveNo() {
		return moveNo;
	}


	public void setMoveNo(String moveNo) {
		this.moveNo = moveNo;
	}


	public String getMakerSign() {
		return makerSign;
	}


	public void setMakerSign(String makerSign) {
		this.makerSign = makerSign;
	}


	public String getPermitterSign() {
		return permitterSign;
	}


	public void setPermitterSign(String permitterSign) {
		this.permitterSign = permitterSign;
	}


	public String getIsShenHe() {
		return isShenHe;
	}


	public void setIsShenHe(String isShenHe) {
		this.isShenHe = isShenHe;
	}


	public List<allocatedetail> getAllo() {
		return allo;
	}


	public void setAllo(List<allocatedetail> allo) {
		this.allo = allo;
	}

	public String getIsDel() {
		return isDel;
	}


	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}


	@Override
	public String toString() {
		return "allocate [wareOutName=" + wareOutName + ", moveDate=" + moveDate + ", wareName=" + wareName
				+ ", moveNo=" + moveNo + ", makerSign=" + makerSign + ", permitterSign=" + permitterSign + ", isShenHe="
				+ isShenHe + ", isDel=" + isDel + ", allo=" + allo + "]";
	}


	public allocate(String wareOutName, Date moveDate, String wareName, String moveNo, String makerSign,
			String permitterSign, String isShenHe) {
		super();
		this.wareOutName = wareOutName;
		this.moveDate = moveDate;
		this.wareName = wareName;
		this.moveNo = moveNo;
		this.makerSign = makerSign;
		this.permitterSign = permitterSign;
		this.isShenHe = isShenHe;
	}
	

	public allocate(String wareOutName, Date moveDate, String wareName, String moveNo, String makerSign,
			String permitterSign, String isShenHe, String isDel) {
		super();
		this.wareOutName = wareOutName;
		this.moveDate = moveDate;
		this.wareName = wareName;
		this.moveNo = moveNo;
		this.makerSign = makerSign;
		this.permitterSign = permitterSign;
		this.isShenHe = isShenHe;
		this.isDel = isDel;
	}


	public allocate(String wareOutName, Date moveDate, String wareName, String moveNo, String makerSign,
			String permitterSign, String isShenHe, List<allocatedetail> allo) {
		super();
		this.wareOutName = wareOutName;
		this.moveDate = moveDate;
		this.wareName = wareName;
		this.moveNo = moveNo;
		this.makerSign = makerSign;
		this.permitterSign = permitterSign;
		this.isShenHe = isShenHe;
		this.allo = allo;
	}


	public allocate() {
		super();
	}
	
	
	
}
